package org.example.examsystem.service;


import org.example.examsystem.entity.User;

public interface UserService {
    User findUserByUsernameAndPassword(String username, String password);
    int registerUser(User user);
    User findUserById(int userId);
    int updatePassword(int userId, String newPassword);
}
